package

import javax.annotation.Resource;

.controller;
        .entity.UserRoattionimg;
        .service.UserRoattionimgService;

/**
 * (UserRoattionimg)表控制层
 *
 * @author makejava
 * @since 2020-12-24 15:26:45
 */
@RestController
@RequestMapping("userRoattionimg")
public class UserRoattionimgController {
    /**
     * 服务对象
     */
    @Resource
    private UserRoattionimgService userRoattionimgService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public UserRoattionimg selectOne(Integer id) {
        return this.userRoattionimgService.queryById(id);
    }

}